=========================================================================

Texture editing documentation for Duke Nukem 3D, Shuvanov Nikita.

=========================================================================

The documentation consists of three parts:

1. Beginning.

2. Import graphics.

3. Editing graphics.

4. P.S.

==========

1. The Beginning

==========

The author of the documentation is Nikita Shuvanov, i.e. me. You can contact me by e-mail: Nshuv@yandex.ru.

Well, let's begin. To edit graphics for Duke, first of all, you need the Editart program, you can download it from this site.

Run the Editart.exe to start the program. By the way, a very important point: if there is no Tiles000.art graphic file in the folder with Dyke3d.exe and Editart.exe, then after starting the program, there will be nothing on its screen Tiles002.art Tiles001.art Tiles000.art. etc., run the decomp.exe batch file in the folder with Duke3D.exe (from the Dn3D-DC archive in the utilities and other files section of this site) and wait for all the files to be unpacked into the resource folder, then open the resource folder, find all the Tiles files there.... art, and copy them to the folder with Duke3d.exe and Editart.exe. After all that's done, launch Editart.exe.

==================

2. Import graphics

==================

In Editart, you can only insert images with 320x200 resolution in GIF, PCX, or BMP format.

Next, I will give the names of the keys and their meanings.

"U" - Imports the graphics into Editart. Press "U" and you'll see

a list of drawings in the folder with Duke. With the arrow on the desired picture, click

2 times "Enter", thereby selecting the drawing for editing. By the way, after the first press "Enter", the image will appear, and if you press "Enter", the image will reconvert its palette to Build, and if you press "Space", then there will be no reconversion, but the colors are usually distorted in this way.

"PGUP/PGDN" - select the texture to edit.

"G" - select a texture by number.

"S" - Set the size of the field for the texture. If the size of the field is less than the size of the texture, then the texture will be truncated during import, but if the size of the field is larger, then after importing the texture, the size of the field will become equal to the size of the texture.

"Delete" - reduces the field size for the texture to 0.

"+" or "-" - Changes the animation options of the picture. By default, animation is turned off for a newly imported texture. To change the animation type (NoAnm - no animation, AnmFd - forward animation, AnmBk - backward animation and Oscis), press "-" when the number of animation images is 0. For animation, you need at least 2 pictures. The number of images for animation is set by pressing the "+" key, this number should always be 1 less than the number of images in the animation. If, for example, you have 2 images and you want the animation to go forward, set the following values: AnmFd = 1.

"A" - set the animation speed, change the speed with the "+" and "-" keys.

"'" is a key with the Russian letter "ё". Used to center a sprite or texture (it doesn't do anything for a texture).

"V" - show the list of texts in the Tiles files.... art. Select the desired texture using the "Arrow", and press "Enter", thereby selecting the texture to edit. If you press "Space" on any texture in the list (starting with the second one), this texture will change its place with the previous texture. If you click on the number 1 on texture No1 and 2 on texture No30, and then press 3 anywhere, textures No1-30 will move

to this place.

"F12" - take a screenshot. It is saved in the Editart.exe folder in PCX format.

"Esc" is the exit from Editart.

==========================

3. Editing graphics

==========================

"C" - change the color on which the cursor is located to the selected color (select the color in the lower left corner of the screen using the "Arrows" and the "Shift" key). I usually use this for sprites, to give some of their areas a transparent color (the last color on the palette).

"Space" - paint one pixel with the selected color.

"T" - Enables/disables the "Trail" mode. In this mode, by moving the cursor with the "Arrows", you will

Paint the cursor trajectory line with the selected color.

"Tab" - select the color currently under the cursor.

"Backspace" - set the color to transparent.

"F" - paint the field for the picture with the selected color.

"M" and "P" - The "M" key puts the picture into memory, and "P" inserts it from memory.

"J" - cut out the color on which the cursor is currently located, and paint its place with the selected color.

"[" and "]" - blurs the picture.

";" and "'" - Make the picture three-dimensional.

"R" - moves the picture.

"<" and ">" - makes the picture lighter/darker.

"\" - move the cursor to the center of the picture.

"|" - show the coordinates of the cursor.

"N" - set a name for the picture.

===============

4. P.S.

===============

That's all that's basically needed to work with Duke's textures. Add textures to your levels and they will become more beautiful, detailed and interesting.